package com.disease.api.service.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("emr_death_info")
public class EmrDeathInfo {
    private String id;

    @TableField("patient_id")
    private String patientId;

    @TableField("activity_type_code")
    private String activityTypeCode;

    @TableField("activity_type_name")
    private String activityTypeName;

    @TableField("serial_number")
    private String serialNumber;

    @TableField("patient_name")
    private String patientName;

    @TableField("id_card_type_code")
    private String idCardTypeCode;

    @TableField("id_card_type_name")
    private String idCardTypeName;

    @TableField("id_card")
    private String idCard;

    @TableField("treatmentDesc")
    private String treatmentdesc;

    @TableField("dead_date")
    private Timestamp deadDate;

    @TableField("direct_cause_name")
    private String directCauseName;

    @TableField("direct_cause_code")
    private String directCauseCode;

    @TableField("death_diagnosis_name")
    private String deathDiagnosisName;

    @TableField("deathDiagnosisCode")
    private String deathDiagnosisCode;

    @TableField("chief_physician_id")
    private String chiefPhysicianId;

    @TableField("chief_physician_name")
    private String chiefPhysicianName;

    @TableField("org_code")
    private String orgCode;

    @TableField("org_name")
    private String orgName;

    @TableField("dept_code")
    private String deptCode;

    @TableField("dept_name")
    private String deptName;

    @TableField("fill_doctor")
    private String fillDoctor;

    @TableField("operator_id")
    private String operatorId;

    @TableField("invalid_flag")
    private String invalidFlag;

    @TableField("operation_time")
    private Timestamp operationtime;

    @TableField("data_status")
    private String dataStatus;

    @TableField("create_date")
    private Timestamp createDate;
}
